﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebLogin._Default" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">


    <%--数据库数据展示--%>
    <div>
        <asp:GridView ID="GV1"
            runat="server" PagerSettings-Visible="false"
            OnRowCancelingEdit="GV1_RowCancelingEdit"
            OnRowDeleting="GV1_RowDeleting"
            OnRowUpdating="GV1_RowUpdating"
            OnRowEditing="GV1_RowEditing"
            BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" Width="1145px" Style="margin-left: 251px" OnSelectedIndexChanged="GV1_SelectedIndexChanged">
            <AlternatingRowStyle BackColor="#F7F7F7"></AlternatingRowStyle>
            <PagerSettings Visible="false" />
            <Columns>
                <asp:CommandField ButtonType="Button" ShowHeader="True" HeaderText="操作" ShowDeleteButton="True" ShowEditButton="True" ShowSelectButton="True" />
            </Columns>
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <RowStyle ForeColor="#4A3C8C" BackColor="#E7E7FF" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
            <SortedAscendingCellStyle BackColor="#F4F4FD" />
            <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
            <SortedDescendingCellStyle BackColor="#D8D8F0" />
            <SortedDescendingHeaderStyle BackColor="#3E3277" />
        </asp:GridView>
        <asp:Button Text="添加" runat="server" ID="btnAdd" OnClick="btnAdd_Click" />
    </div>



    <%--登录框--%>

    <%--    <table style="text-align:center";>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>
                <asp:TextBox ID="TextBox1" runat="server" Width="168px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="密码"></asp:Label>
                <asp:TextBox ID="TextBox2" runat="server" Width="168px" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="登录" OnClick="Button1_Click" />
                <asp:Button ID="Button2" runat="server" Text="注册" OnClick="Button2_Click" />
            </td>
        </tr>
    </table>--%>

        <div>
        <div>
                <asp:Label ID="Label3" runat="server" Text="用户名"></asp:Label>
                <asp:TextBox ID="TextBox1" runat="server" Width="168px"></asp:TextBox>
       </div>
        <div>
            <asp:Label ID="Label4" runat="server" Text="密码"></asp:Label>
             <asp:TextBox ID="TextBox2" runat="server" Width="168px" TextMode="Password"></asp:TextBox>
        </div>
        <div>
            <asp:Button ID="Button3" runat="server" Text="登录" OnClick="Button1_Click" />
            <asp:Button ID="Button4" runat="server" Text="注册" OnClick="Button2_Click" />
        </div>
    </div>

    <fieldset>
        <ul>
            <li class="frame_style from_error">
                <label class="user_icon iconfont">&#xe620;</label>
                <input name="" type="text" data-name="用户名" id="username" runat="server" /><i>用户名</i>
            </li>
            <li class="frame_style from_error">
                <label class="password_icon iconfont">&#xe625;</label>
                <input name="" type="text" data-name="密码" id="password" runat="server" /><i>密码</i>
            </li>
            <li class="frame_style from_error">
                <label class="codes_icon iconfont">&#xe624;</label>
                <input  name="" type="text" date-name="验证码" id="codes-text"/><i>验证码</i>
            </li>
        </ul>
    </fieldset>


    <%--是否忘记密码界面--%>
    <%--    <table>
            <asp:PasswordRecovery ID="passwordrecovery1" runat="server" BackColor="#eff3fb" BorderColor="#b5c7de" BorderPadding="4" BorderStyle="solid" BorderWidth="1px" Font-Names="verdana" Font-Size="0.8em">
                <SubmitButtonStyle BackColor="white" BorderColor="#507cd1" BorderStyle="solid" BorderWidth="1px" Font-Names="verdana" Font-Size="0.8em" ForeColor="#284e98" />
                <InstructionTextStyle Font-Italic="true" ForeColor="black" />
                <SuccessTextStyle Font-Bold="true" ForeColor="#507cd1" />
                <TextBoxStyle Font-Size="0.8em" />
                <TitleTextStyle BackColor="#507cd1" Font-Bold="true" Font-Size="0.9em" ForeColor="white" />

            </asp:PasswordRecovery>
        </table>--%>
</asp:Content>
